//
//  KKIntroVC.m
//  DoMi
//
//  Created by 康凯 on 2016/11/25.
//  Copyright © 2016年 kk. All rights reserved.
//

#import "KKIntroVC.h"
#import "KKComHttp.h"
#import "KKExpertDetailM.h"

@interface KKIntroVC ()
@property (weak, nonatomic) IBOutlet UILabel *place;
@property (weak, nonatomic) IBOutlet UILabel *industry;
@property (weak, nonatomic) IBOutlet UILabel *intro;

@property (strong,nonatomic)KKExpertDetailM *expertInfo;
@end

@implementation KKIntroVC

- (void)viewDidLoad {
    [super viewDidLoad];
    [self getExpertIntro];
}

-(void)initData{
    self.place.text=self.expertInfo.zone;
    self.industry.text=self.expertInfo.industry;
    self.intro.text=self.expertInfo.introduction;
}

#pragma mark 接口--简介
-(void)getExpertIntro{
    [KKComHttp getExpertIntro:self.expertId success:^(id data) {
        self.expertInfo=data;
        [self initData];
    } failure:^(NSError *error) {
        
    }];
}
@end
